package com.app.backend.activiti.entity;

import com.app.backend.common.base.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * @program: ActNode
 * @description:
 * @author: Zhun.Xiao
 * @create: 2020-02-27 10:16
 **/

@Data
@Entity
@Table(name = "sys_act_node")
@ApiModel(value = "节点")
public class ActNode extends BaseEntity {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "节点id")
    private String nodeId;

    @ApiModelProperty(value = "节点关联类型 0角色 1用户")
    private Integer type;

    @ApiModelProperty(value = "关联其他表id")
    private String relateId;
}